[vte/vte-next] prompt: Fix test (cherry picked from commit 9979712a1b556e0ddd3bf57b3ec8379b57cf66c1)



commit a3a4a25eaa75df5710dd99ecc6b86e5e1298fcb2
Author: Christian Persch <chpe gnome org>
Date:   Mon May 13 20:01:05 2013 +0200

    prompt: Fix test
    (cherry picked from commit 9979712a1b556e0ddd3bf57b3ec8379b57cf66c1)
    
    Conflicts:
        src/test-vte-sh.sh

 src/test-vte-sh.sh |    6 ++++--
 src/vte.sh         |    2 ++
 2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/src/test-vte-sh.sh b/src/test-vte-sh.sh
index 05efde4..2cfe59c 100755
--- a/src/test-vte-sh.sh
+++ b/src/test-vte-sh.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash -i
 # Copyright © 2013 Christian Persch
 #
 # This program is free software; you can redistribute it and/or modify
@@ -17,7 +17,9 @@
 
 set -e
 
-source ./vte.sh
+export VTE_VERSION=9999
+
+source $srcdir/vte.sh
 
 check_urlencode() (
   input=$(echo -ne "$1")
diff --git a/src/vte.sh b/src/vte.sh
index d31ab82..184c6e7 100644
--- a/src/vte.sh
+++ b/src/vte.sh
@@ -60,3 +60,5 @@ case "$TERM" in
     [ -n "$ZSH_VERSION"  ] && chpwd_functions+=(__vte_osc7)
     ;;
 esac
+
+true


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]