Skip to content

Commit 20b58e8

Browse files
authored
[AIX] Fix AIX failures due to switch to internal shell (#160566)
This PR fixes a bunch of failures on AIX that occurred due to the switch to lit internal shell by default. The failures deal with the following: 1. unset not being supported by lit internal shell 2. A bug with echo -n on AIX when there are multiple pipes in the RUN command 3. ulimit test case not supported on AIX due to the -v option 4. platform specific error message for missing file
1 parent f5ca4bb commit 20b58e8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/shtest-readfile-external.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
# CHECK-LABEL: FAIL: shtest-readfile :: file-does-not-exist.txt ({{[^)]*}})
1313
# CHECK: echo $(cat /file/does/not/exist) && test -e /file/does/not/exist {{.*}}
14-
# CHECK: cat: /file/does/not/exist: No such file or directory
14+
# CHECK: {{.*}}cat{{.*}}/file/does/not/exist{{.*}}
1515

1616
# CHECK-LABEL: FAIL: shtest-readfile :: relative-paths.txt ({{[^)]*}})
1717
# CHECK: echo $(cat rel_path_test_folder/test_file) && test -e rel_path_test_folder/test_file {{.*}}

tests/shtest-ulimit-nondarwin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# ulimit does not work on non-POSIX platforms.
44
# These tests are specific to options that Darwin does not support.
5-
# UNSUPPORTED: system-windows, system-darwin
5+
# UNSUPPORTED: system-windows, system-darwin, system-aix
66

77
# RUN: not %{lit} -a -v %{inputs}/shtest-ulimit-nondarwin | FileCheck %s
88

0 commit comments

Comments
 (0)